<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
  <head>
    <title>取货码</title>
    <jsp:include page="header.jsp"></jsp:include>
    <style type="text/css">
    	.my-content {
    		width: 100%;
    		height: 200px;
    		margin-top: 12px;
    	}
    	.my-content img {
    		display:block;
    		height: 200px;
    		width: 200px;
    		margin-left: 80px;
    		margin-top: 30px;
    	} 
    	.weui-row {
    		margin-top: 50px;
    	}
    	.weui-row a {
    		width: 100%;
    	}
    </style>
  </head>
  <body ontouchstart>
  	<div class="my-content">
  		<c:choose>
  		<c:when test="${not empty order}">
  			<img src="${order.orderTest}" />
  		</c:when>
  		<c:otherwise>
  			<img src="/upload/ban1.jpg" />
  		</c:otherwise>
  		</c:choose>
  	</div>
  	<div class="weui-row">
  		<a href="javascript:;" class="weui-btn weui-btn_primary" onclick="myBack()">返回</a>
  	</div>
  <jsp:include page="foot.jsp"></jsp:include>
  <script type="text/javascript">
  	function myBack(){
  		window.location.href = document.referrer;
  	}
  </script>
  </body>
  </html>